package com.spark.lola.request;

import com.baomidou.mybatisplus.annotation.TableField;
import com.spark.lola.entity.pur.OrderProduct;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: DengYeJun
 * @Date: 2020/5/22 13:29
 */
@ApiModel(value="修改货品明细", description="")
public class UpdateOrderRequest {
    @ApiModelProperty(value = "订单ID")
    private Long id;

    @ApiModelProperty(value = "收款信息")
    private Long bankId;

    @ApiModelProperty(value = "货品明细")
    @TableField(exist = false)
    private List<OrderProduct> details=new ArrayList<>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<OrderProduct> getDetails() {
        return details;
    }

    public void setDetails(List<OrderProduct> details) {
        this.details = details;
    }

    public Long getBankId() {
        return bankId;
    }

    public void setBankId(Long bankId) {
        this.bankId = bankId;
    }
}
